/*
 * Copyright (c) 2017, salesforce.com, inc.
 * All rights reserved.
 * Licensed under the BSD 3-Clause license.
 * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
 */

// exported for use in other packages
export const DEBUGGER_LAUNCH_TYPE = 'launch';
export const DEBUGGER_TYPE = 'apex';
export const LIVESHARE_DEBUGGER_TYPE = 'vslsShare';
export const EXCEPTION_BREAKPOINT_BREAK_MODE_ALWAYS = 'always';
export const EXCEPTION_BREAKPOINT_BREAK_MODE_NEVER = 'never';
export const SHOW_MESSAGE_EVENT = 'showMessage';
export const SEND_METRIC_EVENT = 'sendMetric';
export const HOTSWAP_REQUEST = 'hotswap';
export const LIST_EXCEPTION_BREAKPOINTS_REQUEST = 'listExceptionBreakpoints';
export const LIVESHARE_DEBUG_TYPE_REQUEST = 'debugType';
export const EXCEPTION_BREAKPOINT_REQUEST = 'exceptionBreakpoint';
export const SF_CONFIG_ISV_DEBUGGER_SID = 'org-isv-debugger-sid';
export const SF_CONFIG_ISV_DEBUGGER_URL = 'org-isv-debugger-url';

// used within this package only
export const CLIENT_ID = 'sfdx-vscode';
export const DEFAULT_CONNECTION_TIMEOUT_MS = 20_000;
export const ENV_SF_TARGET_ORG = 'SF_TARGET_ORG';
export const ENV_HTTP_PROXY = 'HTTP_PROXY';
export const ENV_HTTPS_PROXY = 'HTTPS_PROXY';
export const ENV_SF_ORG_INSTANCE_URL = 'SF_ORG_INSTANCE_URL';
export const DEFAULT_STREAMING_TIMEOUT_MS = 14_400;
export const DEFAULT_LOCK_TIMEOUT_MS = 10_000;
export const DEFAULT_IDLE_TIMEOUT_MS = 1_200_000;
export const DEFAULT_IDLE_WARN1_MS = 600_000;
export const DEFAULT_IDLE_WARN2_MS = 900_000;
export const DEFAULT_IDLE_WARN3_MS = 1_080_000;
export const SALESFORCE_EXCEPTION_PREFIX = 'com/salesforce/api/exception/';
export const TRIGGER_EXCEPTION_PREFIX = '__sfdc_trigger/';
